package com.synergy.stockflow.production.service;

import com.synergy.stockflow.production.entity.ProductionTask;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ProductionTaskService extends IService<ProductionTask>{

    List<ProductionTask> selectTaskAndWorkstation(String processId);

    List<ProductionTask> selectTask();

    int updateComputedQuantity(@Param("taskId") String taskId,
                               @Param("computedQuantity") BigDecimal computedQuantity);
}
